﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BLL.Entities.Company;

namespace HTAProDataImporterTest
{
    [TestClass]
    public class TestJudges : BaseImporterTest
    {
        [TestMethod]
        public void CheckJudgeFields()
        {
            Judge j = data_importer.store.Judges["93"] as Judge;

            Assert.IsNotNull(j, "Judge is null");
            Assert.AreEqual(j.Person.FirstName, "Samuel W.");
            Assert.AreEqual(j.Person.LastName, "Billich");
            Assert.AreEqual(j.Notes, "* On Charters must be 365 days from date of offence to qualify for stay without def.");
        }
    }
}
